package com.mybatistest.service;

import com.mybatistest.entity.Mybatis;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangrunfu
 * @since 2024-08-30
 */


public interface IMybatisService extends IService<Mybatis> {
    boolean saveData(Mybatis mybatis);
    List<Mybatis> getPage(int pageNum, int pageSize);
    Mybatis queryByName(String citizen);
    List<Mybatis> queryByNameList(String name);

    List<Mybatis> queryByCitizenList(String citizen);

}
